import 'package:flutter/material.dart';

class MyTabWidget extends StatefulWidget {
  /// tab控制器
  final TabController tabController;

  /// 標題
  final List<String> listTitle;

  /// 內容
  final List<Widget> listContent;

  const MyTabWidget(
      {Key key, this.tabController, this.listTitle, this.listContent})
      : super(key: key);

  @override
  _MyTabWidgetState createState() => _MyTabWidgetState();
}

class _MyTabWidgetState extends State<MyTabWidget> {

  get tabController => widget.tabController;

  get _listTitle => widget.listTitle;

  get _listContent => widget.listContent;

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
